import request from "@/utils/request"

// 获取设备监测详细信息
export function getDeviceCommonDataList(data) {
  return request({
    url: "/business/device/deviceCommonDataList/",
    method: "get",
    params: data
  })
}

// 获取统计设备状态的数量
export function getStatDeviceStatusCount(query) {
  return request({
    url: "/business/device/statDeviceStatusCount/",
    method: "get",
    params: query
  })
}

// 获取设备监测因子
export function getDeviceFactorList(deviceId) {
  return request({
    url: "business/device/deviceFactorList/" + deviceId,
    method: "get",
  });
}
